//
//  LoginViewController.m
//  Assistant
//
//  Created by liaozhenming on 16/6/6.
//  Copyright © 2016年 liaozhenming. All rights reserved.
//

#import "LoginViewController.h"

#import "MainViewController.h"

@implementation LoginViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    __weak typeof(self) weakSelf = self;
    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
        [weakSelf private_pushMainController];
    });
}

#pragma mark - Private methods

- (void)private_pushMainController {
    
    MainViewController *mainViewController = [MainViewController kk_viewControllerFromStoryboard];
    [self presentViewController: mainViewController animated: NO completion: nil];
}

@end
